/******************************************************************************
 *
 * @copyright:          Copyright 2011 UniSky Ltd.
 * @file:
 * @author:              kenping.liu
 * @creation:
 * @description:
 *
 * @modifications
 * date         user                description
 *
 *
 * @more-details
 *
 *****************************************************************************/
#ifndef _UNISKY_CONFIG_H_
#define _UNISKY_CONFIG_H_

#if 0
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//#if (_MSC_VER==1200)
//#pragma message("_MSC_VER=1200 [vc6]")
//#elif (_MSC_VER==1300)
//#pragma message("_MSC_VER=1300 [vc2003]")
//#elif (_MSC_VER==1400)
//#pragma message("_MSC_VER=1400 [vc2005]")
//#elif (_MSC_VER==1500)
//#pragma message("_MSC_VER=1500 [vc2008]")
//#elif (_MSC_VER==1600)
//#pragma message("_MSC_VER=1600 [vc2010]")
//#endif

// Platforms
#if (defined(_WIN32) || defined(WIN32) || defined(WIN64) || defined(_WIN64) || defined(_WINDOWS)) && !defined(WINDOWS)
#define WINDOWS 1
#undef LINUX
#endif

#undef MSC_2008
#if defined(WINDOWS)
#   if (defined _MSC_VER) && (_MSC_VER > 1400)
#       define MSC_2008 1
#   endif
#endif

#undef U_X64
#if (defined(_M_X64) || defined(_WIN64) || defined(WIN64))
#define U_X64 1
#endif

#undef LINUX
#if (defined(_LINUX) || defined(LINUX))
#define LINUX 1
#define USE_CURL_ALWAYS 1
#undef WINDOWS
#endif

// Options
#undef U_UNICODE
#if defined(_UNICODE) || defined(UNICODE)
#   define U_UNICODE 1
#endif

#undef U_DEBUG
#if defined(_DEBUG) || defined(DEBUG)
#   define U_DEBUG 1
#endif

//#if defined(WINDOWS)
//#pragma message("Make for MS Windows")
//#endif
//
//#if defined(LINUX)
//#pragma message("Make for Linux OS System")
//#endif
//
//#if defined(APPLE)
//#pragma message("Make for Apple MAC OS System")
//#endif
#endif

#define LINUX 1
#define USE_CURL_ALWAYS 1
#undef WINDOWS

#endif
